Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#39979 Ignore resource method params #40030

Closed
wants to merge 229 commits into from

Conversation

poldinik
Copy link
Contributor

#39979

This proposal allows to define logic inside extensions like

@RestEasyParamsFilter
public class RestEasyFilterImpl implements Predicate<Map<DotName, AnnotationInstance>> {
    @Override
    public boolean test(Map<DotName, AnnotationInstance> dotNameAnnotationInstanceMap) {
        DotName PROMPT = DotName.createSimple(Prompt.class.getName());
        return dotNameAnnotationInstanceMap.containsKey(PROMPT);
    }
}

In this way, resources like

@Path("/greetings/send")
@Produces(MediaType.APPLICATION_JSON)
@POST
public Response send(MyRequest request, @Prompt String prompt){
    return Response.ok(Map.of("request", request)).build();
}

Can handle multiple params that are not owned by RestEasy API

ozangunalp and others added 30 commits November 16, 2023 09:42
Bumps `mongo-client.version` from 4.11.0 to 4.11.1.

Updates `org.mongodb:mongodb-driver-sync` from 4.11.0 to 4.11.1
- [Release notes](https://github.com/mongodb/mongo-java-driver/releases)
- [Commits](mongodb/mongo-java-driver@r4.11.0...r4.11.1)

Updates `org.mongodb:mongodb-driver-core` from 4.11.0 to 4.11.1
- [Release notes](https://github.com/mongodb/mongo-java-driver/releases)
- [Commits](mongodb/mongo-java-driver@r4.11.0...r4.11.1)

Updates `org.mongodb:mongodb-driver-legacy` from 4.11.0 to 4.11.1
- [Release notes](https://github.com/mongodb/mongo-java-driver/releases)
- [Commits](mongodb/mongo-java-driver@r4.11.0...r4.11.1)

Updates `org.mongodb:mongodb-driver-reactivestreams` from 4.11.0 to 4.11.1
- [Release notes](https://github.com/mongodb/mongo-java-driver/releases)
- [Commits](mongodb/mongo-java-driver@r4.11.0...r4.11.1)

Updates `org.mongodb:bson` from 4.11.0 to 4.11.1
- [Release notes](https://github.com/mongodb/mongo-java-driver/releases)
- [Commits](mongodb/mongo-java-driver@r4.11.0...r4.11.1)

---
updated-dependencies:
- dependency-name: org.mongodb:mongodb-driver-sync
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.mongodb:mongodb-driver-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.mongodb:mongodb-driver-legacy
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.mongodb:mongodb-driver-reactivestreams
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.mongodb:bson
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
(cherry picked from commit cf28285)
Bumps [jakarta.json:jakarta.json-api](https://github.com/eclipse-ee4j/jsonp) from 2.1.2 to 2.1.3.
- [Release notes](https://github.com/eclipse-ee4j/jsonp/releases)
- [Commits](https://github.com/eclipse-ee4j/jsonp/commits)

---
updated-dependencies:
- dependency-name: jakarta.json:jakarta.json-api
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
(cherry picked from commit d04e0c6)
We have seen several failures lately, let's hope this fixes it.

(cherry picked from commit fa38177)
- Capture the context when calling the interceptor
- Make sure the item is emitted on the captured context

(cherry picked from commit f781b7f)
Signed-off-by: Phillip Kruger <[email protected]>
(cherry picked from commit 7187227)
SME and QE fixes

fix bullet

fix bad link

Fix xref

(cherry picked from commit e60c3d5)
It makes little sense to use 3.0 now but 3.2 makes perfect sense as it
is an LTS version.

(cherry picked from commit df6cf37)
We discussed this quite a long time ago, and while we have fixed all the
existing extensions, we never fixed the templates.

Did that + adjusted the tests to check for regressions in the created
extension.

(cherry picked from commit 023a10f)
(cherry picked from commit c1fde71)
(cherry picked from commit 3045890)
Bumps [com.squareup.okio:okio](https://github.com/square/okio) from 1.17.2 to 1.17.6.
- [Changelog](https://github.com/square/okio/blob/master/CHANGELOG.md)
- [Commits](square/okio@okio-parent-1.17.2...okio-parent-1.17.6)

---
updated-dependencies:
- dependency-name: com.squareup.okio:okio
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
(cherry picked from commit d9e25ce)
Bumps [com.unboundid:unboundid-ldapsdk](https://github.com/pingidentity/ldapsdk) from 6.0.9 to 6.0.10.
- [Release notes](https://github.com/pingidentity/ldapsdk/releases)
- [Changelog](https://github.com/pingidentity/ldapsdk/blob/master/docs/release-notes.html)
- [Commits](pingidentity/ldapsdk@6.0.9...6.0.10)

---
updated-dependencies:
- dependency-name: com.unboundid:unboundid-ldapsdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
(cherry picked from commit dcd83e5)
Bumps [io.quarkus:quarkus-platform-bom-maven-plugin](https://github.com/quarkusio/quarkus-platform-bom-generator) from 0.0.97 to 0.0.99.
- [Release notes](https://github.com/quarkusio/quarkus-platform-bom-generator/releases)
- [Commits](quarkusio/quarkus-platform-bom-generator@0.0.97...0.0.99)

---
updated-dependencies:
- dependency-name: io.quarkus:quarkus-platform-bom-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
(cherry picked from commit 5ff4a09)
Bumps org.apache.commons:commons-text from 1.10.0 to 1.11.0.

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-text
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
(cherry picked from commit 393452c)
@quarkus-bot quarkus-bot bot added area/grpc gRPC area/hibernate-orm Hibernate ORM area/hibernate-reactive Hibernate Reactive area/infinispan Infinispan area/infra-automation anything related to CI, bots, etc. that are used to automated our infrastructure area/jackson Issues related to Jackson (JSON library) area/keycloak area/kubernetes area/maven area/metrics area/mongodb area/netty area/oidc area/openapi area/panache area/persistence OBSOLETE, DO NOT USE area/picocli area/platform Issues related to definition and interaction with Quarkus Platform area/qute The template engine area/resteasy-classic area/rest area/scheduler area/security area/smallrye area/spring Issues relating to the Spring integration area/testing area/tracing area/vertx labels Apr 11, 2024
Copy link

quarkus-bot bot commented Apr 11, 2024

/cc @Karm (awt), @brunobat (micrometer,opentelemetry), @galderz (awt)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/agroal area/arc Issue related to ARC (dependency injection) area/cache area/cli Related to quarkus cli (not maven/gradle/etc.) area/config area/core area/dependencies Pull requests that update a dependency file area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins area/docstyle issues related for manual docstyle review area/documentation area/elasticsearch area/google-cloud-functions area/gradle Gradle area/graphics area/graphql area/grpc gRPC area/hibernate-orm Hibernate ORM area/hibernate-reactive Hibernate Reactive area/infinispan Infinispan area/infra-automation anything related to CI, bots, etc. that are used to automated our infrastructure area/jackson Issues related to Jackson (JSON library) area/keycloak area/kubernetes area/maven area/metrics area/mongodb area/netty area/oidc area/openapi area/panache area/persistence OBSOLETE, DO NOT USE area/picocli area/platform Issues related to definition and interaction with Quarkus Platform area/qute The template engine area/rest area/resteasy-classic area/scheduler area/security area/smallrye area/spring Issues relating to the Spring integration area/testing area/tracing area/vertx triage/invalid This doesn't seem right
Projects
Development

Successfully merging this pull request may close these issues.